package com.example.excel;
import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

@Data
public class UserData {
    @ExcelProperty(value = "用户编号", index = 0)
    private int id;
    @ExcelProperty(value = "用户名", index = 1)
    private String username;
    @ExcelProperty(value = "性别", index = 2)
    private String gender;
    @ExcelProperty(value = "工资", index = 3)
    private Double salary;
}